package com.cfgj.web;


import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;


@Controller
public class SendMsgController {

    @RequestMapping("/send")
    public String intoSend(){
        return "/websocket/send";
    }





    @RequestMapping("/getMsg")
    public String getMsg(Model model){

        model.addAttribute("message","请管理员注意，有新的众筹项目上线了！");
        return "/websocket/message";
    }

}
